package cate.common.table.activity.warorder.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("战令任务")
public class WarorderTaskRow extends ERow {

    @NoteField("任务ID")
    public int taskId;

    @NoteField("类型")
    public int type;

    @NoteField("分组")
    public int group;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID", 0);
        this.taskId = xrw.getInteger("任务ID",0);
        this.type = xrw.getInteger("类型",0);
        this.group = xrw.getInteger("分组", 0);
    }
}
